package com.beans;

import org.springframework.stereotype.Repository;

//这些注解⾥⾯都有⼀个注解 @Component，说明它们本身就是属于 @Component 的“⼦类”
@Repository
public class UserRepository {
    public void Sayhi(String name){
        System.out.println("HI :" + name);
    }
}
